package com.metaera.app.data.model;

public class SearchResultResponse {

    private int id;
    private String  title;
    private int type;
    private int author_id;
    private String  release_time;
    private int release_time_stamp;
    private Author  author;
    private String  start_time;
    private String  end_time;
    private String  organizer;
    private int num;
    private int is_free;
    private String  province;
    private String  city;
    private String  area;
    private String  address;
    private int start_time_stamp;
    private int end_time_stamp;

    private int like_num;
    private int deny_num;

    private String nickname;
    private String avatar_img;
    private String desc;

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getAvatar_img() {
        return avatar_img;
    }

    public void setAvatar_img(String avatar_img) {
        this.avatar_img = avatar_img;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public int getLike_num() {
        return like_num;
    }

    public void setLike_num(int like_num) {
        this.like_num = like_num;
    }

    public int getDeny_num() {
        return deny_num;
    }

    public void setDeny_num(int deny_num) {
        this.deny_num = deny_num;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getAuthor_id() {
        return author_id;
    }

    public void setAuthor_id(int author_id) {
        this.author_id = author_id;
    }

    public String getRelease_time() {
        return release_time;
    }

    public void setRelease_time(String release_time) {
        this.release_time = release_time;
    }

    public int getRelease_time_stamp() {
        return release_time_stamp;
    }

    public void setRelease_time_stamp(int release_time_stamp) {
        this.release_time_stamp = release_time_stamp;
    }

    public Author getAuthor() {
        if (author == null){
            return new Author();
        }
        return author;
    }

    public void setAuthor(Author author) {
        this.author = author;
    }

    public String getStart_time() {
        return start_time;
    }

    public void setStart_time(String start_time) {
        this.start_time = start_time;
    }

    public String getEnd_time() {
        return end_time;
    }

    public void setEnd_time(String end_time) {
        this.end_time = end_time;
    }

    public String getOrganizer() {
        return organizer;
    }

    public void setOrganizer(String organizer) {
        this.organizer = organizer;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public int getIs_free() {
        return is_free;
    }

    public void setIs_free(int is_free) {
        this.is_free = is_free;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getStart_time_stamp() {
        return start_time_stamp;
    }

    public void setStart_time_stamp(int start_time_stamp) {
        this.start_time_stamp = start_time_stamp;
    }

    public int getEnd_time_stamp() {
        return end_time_stamp;
    }

    public void setEnd_time_stamp(int end_time_stamp) {
        this.end_time_stamp = end_time_stamp;
    }

    public static class Author {
        private int id;
        private String  mobile;
        private String  nickname;
        private String  avatar_img;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getNickname() {
            if (nickname == null){
                return "null";
            }
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getAvatar_img() {
            return avatar_img;
        }

        public void setAvatar_img(String avatar_img) {
            this.avatar_img = avatar_img;
        }
    }
}
